package cn.tedu.spring.eg1;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestStudent {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext("cn.tedu.spring.eg1");
        Student student = ac.getBean( Student.class);
        System.out.println(student);
    }
}
